package router

import (
	ctrl "a-admin/web/controller"

	"github.com/gofiber/fiber/v2"
)

func InitSysCommRoutes(r fiber.Router) {
	server := ctrl.NewSysCommController()
	rg := r.Group("/comm")
	{
		rg.Get("/download/:filename", server.Download)
		rg.Post("/upload", server.Upload)
	}
}
